package com.fuyao.cim.mvc.controller.api;

import lombok.Getter;
import lombok.Setter;

import java.util.Set;

@Getter
@Setter
public class MessagePushBody {
    private long id;
    private String action;
    private String title;
    private String content;
    private String sender;
    private Set<String> receivers;
    private String format;
    private String extra;
    private long timestamp = System.currentTimeMillis();

    @Override
    public String toString() {
        return "MessagePushBody{" +
                "id=" + id +
                ", action='" + action + '\'' +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", sender='" + sender + '\'' +
                ", receivers=" + receivers +
                ", format='" + format + '\'' +
                ", extra='" + extra + '\'' +
                ", timestamp=" + timestamp +
                '}';
    }
}
